package com.centaline.androidsalesblog.api.usercenter;

import com.centaline.androidsalesblog.api.UserCenterApi;
import com.centaline.androidsalesblog.model.responseobject.SysMsgListRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 系统消息
 * Created by guilin on 16/3/24.
 */
public class SysMsgListApi extends UserCenterApi<SysMsgListRo> {

    private int firstIndex;

    public SysMsgListApi(Class<?> tag, Class<SysMsgListRo> aClass, IResponseListener<SysMsgListRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }


    public void setFirstIndex(int firstIndex) {
        this.firstIndex = firstIndex;
    }

    @Override
    protected void setParams() {
        putParams("FirstIndex", firstIndex);
        putParams("Count", 10);
    }

    @Override
    protected String getPath() {
        return "SystemMessageRequest";
    }
}
